package com.hspedu.Abstract_;

abstract public class Employee {
    private String name;
    public static String id;
    private double salary;

    public String getName() {
        return name;
    }



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public Employee(String name, String ID, double salary) {
        this.name = name;
        this.id = id;
        this.salary = salary;
    }

    abstract public void work();

}
